Transmission Control Protocol

What is protocol in networking

Created: 2022-07-01
Tags: #permanent


Purpose

Protocol for sending and receiving data
Allows two computers to remain in constant communication.
Any lost data is re-sent.

But first

A Three-Way Handshake must be done first before sending any data.

Protocol used

The protocol type of TCP is Connection-Based Protocol

The bad thing about TCP

When your browser sends bunch of packets to request connection, Webserver responds its own packets, acknowledging the receipt.
They are batched together in a specific order.
Pasted image 20220706181812.png
If one of response packets gets lost because of weak connection,
The rest of them will have to wait in line until lost packet is re-sent.
This can slow the traffic speed down significantly